Theory and Practice of Model Transformation by Unknown

Theory and Practice of Model Transformation by Unknown

Author:Unknown
Language: eng
Format: epub
ISBN: 9783319933177
Publisher: Springer International Publishing


Abstraction Level: Reuse can be at the design level, e.g., in the form of design patterns [9], or directly at the implementation level to reuse transformation code.

Fig. 5.Different techniques enabling MT reuse across metamodels

4 Comparison of Some Existing Approaches

In this section, we analyze five prominent reuse approaches, classifying them by the introduced feature model. Each approach is based on a different technique, summarized in Fig. 5. Model types (Fig. 5a) is based on establishing a subtyping relation between metamodels. A-posteriori typing (Fig. 5b) works by retyping the model so that the reused MT can be applied to it. Concepts rely on genericity to rewrite the MT using a high-order transformation (Fig. 5c) to make it applicable to a particular metamodel. Similarly, MT patterns use a generative approach to synthesize specific MT code from a design pattern. Finally, multilevel modeling exploits the typing relation to apply the MT two (or more) metalevels below (Fig. 5d).

Table 1 summarizes how each approach instantiates the feature model. We provide more details on their working scheme using the running example in what follows.

Fig. 6.Reuse with model typing



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.